package com.anpy.activiti;

import lombok.Getter;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * @Author : anpy
 * @description :
 * @create 2024/12/25 16:13
 */
@Controller
@RequestMapping("/test")
public class TestController {

    @Resource
    private BillMapper billMapper;

    @GetMapping("/test")
    public void test(){
        System.out.println("test");
        BillEntity billEntity = billMapper.selectById(1);
        System.out.println(billEntity.getName());
    }

}
